package com.liu.pojo;

import java.sql.Date;
import java.sql.Timestamp;

/**
 * @Author 老刘Matthew
 * @Timestamp 2022/7/11 12:45
 * @Description
 */
public class  Novel extends Bean {

    // 小说编号，主键自增
    private Integer novel_id;

    // 小说名
    private String author_name;

    // 标题
    private String title;

    // 小说分类编号(外键)
    private Integer cate_id;

    // 书籍大小
    private Double nsize = 0d;

    // 会员编号(外键)
    private Integer user_id;

    // 书籍类型：0转载，1原创
    private Integer ntype = 1;

    // 下载方式：0全本免费，积分下载
    private Integer down_type = 0;

    // 写作进度：0已完结，1连载中
    private Integer progress = 0;

    // 发布时间
    private Timestamp push_time = super.getTimestamp();

    // 最后更新时间
    private Timestamp last_update = super.getTimestamp();

    // 内容简介
    private String content;

    // 封面图片地址
    private String photo;

    // txt下载地址
    private String down_url;

    // 总下载次数
    private Integer down_count = 0;

    // 阅读次数
    private Integer read_count = 0;

    // 推荐数
    private Integer recommend = 0;

    // 收藏数
    private Integer store_count = 0;

    // 审核状态：0未审核，1已上架
    private Integer state = 0;

    // 小编推荐状态：0不推，1推荐(好书)
    private Integer is_recommend = 0;


    public Integer getNovel_id() {
        return novel_id;
    }

    public void setNovel_id(Integer novel_id) {
        this.novel_id = novel_id;
    }

    public String getAuthor_name() {
        return author_name;
    }

    public void setAuthor_name(String author_name) {
        this.author_name = author_name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getCate_id() {
        return cate_id;
    }

    public void setCate_id(Integer cate_id) {
        this.cate_id = cate_id;
    }

    public Double getNsize() {
        return nsize;
    }

    public void setNsize(Double nsize) {
        this.nsize = nsize;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getNtype() {
        return ntype;
    }

    public void setNtype(Integer ntype) {
        this.ntype = ntype;
    }

    public Integer getDown_type() {
        return down_type;
    }

    public void setDown_type(Integer down_type) {
        this.down_type = down_type;
    }

    public Integer getProgress() {
        return progress;
    }

    public void setProgress(Integer progress) {
        this.progress = progress;
    }

    public Timestamp getPush_time() {
        return push_time;
    }

    public void setPush_time(Timestamp push_time) {
        this.push_time = push_time;
    }

    public Timestamp getLast_update() {
        return last_update;
    }

    public void setLast_update(Timestamp last_update) {
        this.last_update = last_update;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getDown_url() {
        return down_url;
    }

    public void setDown_url(String down_url) {
        this.down_url = down_url;
    }

    public Integer getDown_count() {
        return down_count;
    }

    public void setDown_count(Integer down_count) {
        this.down_count = down_count;
    }

    public Integer getRead_count() {
        return read_count;
    }

    public void setRead_count(Integer read_count) {
        this.read_count = read_count;
    }

    public Integer getRecommend() {
        return recommend;
    }

    public void setRecommend(Integer recommend) {
        this.recommend = recommend;
    }

    public Integer getStore_count() {
        return store_count;
    }

    public void setStore_count(Integer store_count) {
        this.store_count = store_count;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getIs_recommend() {
        return is_recommend;
    }

    public void setIs_recommend(Integer is_recommend) {
        this.is_recommend = is_recommend;
    }
}
